package com.xunwulian.api.iface;

import com.xunwulian.api.dto.BaseResponse;
import com.xunwulian.base.entity.AppEntity;
import com.xunwulian.base.entity.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppAPI {

    // 获取APP对象
    BaseResponse getApp(String appId);

    List<AppEntity> listPageByAll(@Param("page") Page page);

    // 获取所有APP对象
    BaseResponse getAppList();

    List<AppEntity> list(String roleId, String appId);
}
